PUTPWPASSWD

Section: C Library Functions (3)
Updated: October 8, 1990
Index Return to Main Contents
 

NAME

putpwpasswd - change password  

SYNOPSIS

int 
putpwpasswd(
 

DESCRIPTION

putpwpasswd changes the encrypted password in the NetInfo database for the user username. encrypted is the new encrypted value to be stored in the database. cleartext is the old unencrypted password for username which is normally required. If this value, when encrypted, does not match the stored encrypted value for username, then the password cannot be changed. The old password is not required if the current encrypted password for username is the null string ("") nor if the calling process has superuser status and is attempting to change a value in a local database.  

DIAGNOSTICS

A value of one (1) is returned if the information was successfully changed. A value of zero (0) is returned if the information could not be changed.  

SEE ALSO

crypt(3), getpwent(3), netinfo(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:22:15 GMT, March 25, 2025